package de.fhk.fst.dvr.user

class UserGroup {

  String groupName;
  boolean adminGroup;

  static constraints = {
    groupName(nullable: false, blank: false, maxLength: 32)
    adminGroup(nullable: false, blank: false )
  }

  public String toString() {
    return groupName
  }

  public boolean isAdminGroup() {
    return adminGroup
  }
}
